package com.example.springcloud.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 商家信息对象 merchants
 * 
 * @author hx
 * @date 2025-02-14
 */
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "商家信息对象")
@Data
public class Merchants implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 商家ID */
    @ApiModelProperty(value = "商家ID")
    private Long merchantId;

    /** 联系人 */
    @Excel(name = "联系人")
    @ApiModelProperty(value = "联系人")
    private String contactName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String phone;

    /** 门店地址 */
    @Excel(name = "门店地址")
    @ApiModelProperty(value = "门店地址")
    private String address;

    /** 所属行业 */
    @Excel(name = "所属行业")
    @ApiModelProperty(value = "所属行业")
    private String industry;

    /** 门店数量 */
    @Excel(name = "门店数量")
    @ApiModelProperty(value = "门店数量")
    private Long storeCount;

    /** 门店名称 */
    @Excel(name = "门店名称")
    @ApiModelProperty(value = "门店名称")
    private String storeName;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("merchantId", getMerchantId())
            .append("contactName", getContactName())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("industry", getIndustry())
            .append("storeCount", getStoreCount())
            .append("storeName", getStoreName())
            .toString();
    }
}
